package com.by.course.enums;


import lombok.Getter;

@Getter
public enum ErrEnum {

    USER_ERR(1001),

    COURSE_ERR(1002),

    LESSON_ERR(1003),

    SCHEDULE_ERR(1004),

    APPOINTMENT_ERR(1005),

    REVIEW_ERR(1006),

    TOKEN_ERR(1100),
    ;

    /**
     * 错误码
     */
    private final Integer code;

    ErrEnum(Integer code) {
        this.code = code;
    }
}
